package com.example.model;

public class User {
    // 1. 私有属性
    private String username;
    private String password;

    // 2. 公共的无参构造方法
    public User() {
    }

    // 3. 公共的 getter 和 setter 方法
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}